const Layout = () => import("@/layout/index.vue");

export default {
  path: "/systemManagement",
  name: "systemManagement",
  component: Layout,
  redirect: "/systemManagement",
  meta: {
    icon: "homeFilled",
    title: "系统管理",
    rank: 1
  },
  children: [
    {
      path: "/menuManagement",
      name: "menuManagement",
      component: () => import("@/views/system/menuManagement.vue"),
      meta: {
        title: "菜单管理"
      }
    },
    {
      path: "/basicInfo",
      name: "basicInfo",
      component: Layout,
      meta: {
        title: "基础信息设置"
      },
      children: [
        {
          path: "/commonLanguage",
          name: "commonLanguage",
          component: () =>
            import("@/views/system/basicInfo/commonLanguage.vue"),
          meta: {
            title: "常用语设置"
          }
        },
        {
          path: "/agentSettings",
          name: "agentSettings",
          component: () => import("@/views/system/basicInfo/agentSettings.vue"),
          meta: {
            title: "代理人设置"
          }
        },
        {
          path: "/enumerationSettings",
          name: "enumerationSettings",
          component: () =>
            import("@/views/system/basicInfo/enumerationSettings.vue"),
          meta: {
            title: "枚举设置"
          }
        }
      ]
    },
    {
      path: "/logoManagement",
      name: "logoManagement",
      component: () => import("@/views/system/logoManagement.vue"),
      meta: {
        title: "logo管理"
      }
    },
    {
      path: "/iconManagement",
      name: "iconManagement",
      component: () => import("@/views/system/iconManagement.vue"),
      meta: {
        title: "图标管理"
      }
    },
    {
      path: "/loginManagement",
      name: "loginManagement",
      component: () => import("@/views/system/loginManagement.vue"),
      meta: {
        title: "登录设置"
      }
    },
    {
      path: "/humanResourcesCenter",
      name: "humanResourcesCenter",
      component: () => import("@/views/system/humanResourcesCenter.vue"),
      meta: {
        title: "人资中心"
      }
    },
    {
      path: "/notificationCenterDetails",
      name: "notificationCenterDetails",
      component: () => import("@/views/system/notificationCenterDetails.vue"),
      meta: {
        title: "通知中心详情"
      }
    }
  ]
} as RouteConfigsTable;
